home *** CD-ROM | disk | FTP | other *** search
- ; > DateFormat
-
- ; This file specifies the possible formats of date fields
-
- ; The format strings have the following possible qualifiers:
- ;
- ; d day of month as a 1 or 2 digit number
- ; m month as a 1 or 2 digit number
- ; y year number as a 1 or 2 digit number (1900 added)
- ; Y year number as an unsigned integer
- ; a optional AD / BC qualifier (BC means make year negative)
- ; D name of day (1st, 2nd, 3rd .. 31st or 1..31 followed by a non-digit)
- ; M month name as specified in Months field
- ; space 0 or more spaces are allowed here
- ; hard space exactly one space must appear here
- ; any other the specified character must appear here
- ;
- ; The day, month or year can be missed out if there is a corresponding
- ; format string without a day, month or year specifier.
- ;
- ; NB: Spaces in the format are normally optional in the date, with one exception:
- ;
- ; When reading a decimal number, the next character must not be
- ; another digit if there is a space in the format.
- ;
- ; Thus: 251090 is equivalent to 25th October 1990
- ; But: Oct2590 is equivalent to October 2590
- ; Oct25 90 is equivalent to 25th October 1990
-
- [ Formats
-
- dmy
- d m y
- D M y
- M D y
- d m Y a
- D M Y a
- M D Y a
- d/m/y
- d/m/Y a
- d.m.y
- d.m.Y a
- d-M-y
- d-M-Y a
- D
- M
- y
- Y.m.d
- Y a
- d m
- m y
- d/m
- m/y
- d.m
- m.y
- m Y a
- m/Y a
- m.Y a
- D M
- M D
- M y
- M Y a
- ]
-
- ; Each line specifies the name of days 1..31
- ; Note that the first match is accepted, so no id must be a leading substring of any later id
-
- [ Days
- 1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th 17th 18th 19th 20th 21st 22nd 23rd 24th 25th 26th 27th 28th 29th 30th 31st
- ]
-
- ; Each line specifies the names of months 1..12
- ; Note that the longer versions of each alias must come before any shorter ones
-
- [ Months
- January February March April May June July August September October November December
- Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
- ]
-
- ; Each line specifies the names for:
- ; AD (Anno Domini) - positive year number
- ; BC (Before Christ) - negative year number
-
- [ AD/BC
- AD BC
- ]
-
-